package com.ctshk.rpc.system.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.ctshk.common.model.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 权限
 * </p>
 *
 * @author 谢诗宏
 * @since 2020-12-25
 */
@Data
@EqualsAndHashCode(callSuper = true)
@TableName("t_sys_permission")
@ApiModel(value="SysPermission对象", description="权限")
public class SysPermission extends BaseEntity {

    private static final long serialVersionUID = 1L;

    private Long menuId;

    @ApiModelProperty(value = "1 菜单	2 页面	3 按钮")
    private Integer menuType;

    private Long userId;

    private Long createId;

    private Long modifiedId;

    @ApiModelProperty(value = "权限数据类型	1 全公司	2 仅部门	3 仅自己	4 自定义")
    private Integer dataType;

}
